package com.example.newspublish.pojo.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

@Data
public class UserDTO implements Serializable {

    private Long id;

    @NotNull
    private String username;
    @NotNull
    private String password;

    private String phone;

    private String nickname;

    private String sex;

    private String email;

    private String avater;
}
